package com.cloudlead.common.worker.web;

/**
 * Created by dean on 2015/8/12.
 */
public enum RemoteServiceType {
    rpc(RemoteServiceRpcClient.getInstance()), restful(RemoteServiceRestClient.getInstance());

    private RemoteServiceClient client;

    RemoteServiceType(RemoteServiceClient client) {
        this.client = client;
    }

    public RemoteServiceClient getClient() {
        return client;
    }
}
